Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

er7 to xml escape empty field #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

isc-afuentes
Copy link
Collaborator

@isc-afuentes isc-afuentes commented Apr 21, 2020

@PYDuquesnoy found an issue when trying to generate an empty xml field.

Proposed fix:

  • Use "\X00" value in ER7 to generate an empty field when converting to XML.
  • I've added 2.5_ORM-EmptyField unittest case, it works when converting er7->xml however it does not work when converting xml->er7.

Any thoughts on how can make the xml and er7 in the unittest case equivalent?
Maybe removing "\X00" before comparing the er7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant